<?php
namespace App\Error\OpenShop;

use App\Error\BaseError;

/**
* @datetime  2023-06-02 15:02:01
* @author      system
* @project    OPEN_SHOP
* @projectDesc    开店
* @module      RENEW
* @moduleDesc      续签
*/
class RenewError extends BaseError
{

    /**
    * @var    array
    * @cnMessage    合同截止时间大于延期时间
    * @enMessage    
    */
    const  CONTRACT_END_TIME_GT_DEFER_TIME = [
        "code"  => 103001002,
        "cn"    => "合同截止时间大于延期时间",
        "en"    => ""
    ];

    /**
    * @var    array
    * @cnMessage    存在已签署的续签单
    * @enMessage    
    */
    const  EXISTS_RENEW_SIGN_ORDER = [
        "code"  => 103001001,
        "cn"    => "存在已签署的续签单",
        "en"    => ""
    ];

    /**
    * @var    array
    * @cnMessage    当前续签工单合同查找失败，请核实后在进行操作！
    * @enMessage    
    */
    const  RENEW_USER_CONTRACT_NOT_EXISTS = [
        "code"  => 103001004,
        "cn"    => "当前续签工单合同查找失败，请核实后在进行操作！",
        "en"    => ""
    ];

    /**
    * @var    array
    * @cnMessage    当前工单状态错误！不处于待签署阶段，不能发起催签
    * @enMessage    
    */
    const  STATUS_ERROR_NOT_FOR_SIGNING = [
        "code"  => 103001003,
        "cn"    => "当前工单状态错误！不处于待签署阶段，不能发起催签",
        "en"    => ""
    ];



}
